/*
 * @Date: 2024-11-18 16:52:52
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-12-19 09:46:13
 * @Description: 布局定义的路由
 */
const metaBase = {
	isLink: '',
	isHide: false,
	isKeepAlive: true,
	isAffix: false,
	isIframe: false,
	roles: ['admin'],
	icon: 'icon-caidan',
}

export default [
	{
		path: '/examples/layout',
		name: 'examples-layout',
		component: () => import('/@/layout/routerView/parent.vue'),
		meta: {
			...metaBase,
			title: '布局示例',
		},
		children: [
			{
        path: '/examples/layout/layout-basic',
        name: 'LayoutBasicView',
        meta: {
          ...metaBase,
          title: '布局示例-基础',
        },
        component: () => import('@/views/examples/layout/ContainerView.vue'),
      },
      {
        path: '/examples/layout/layout-page',
        name: 'LayoutPageView',
        meta: {
          ...metaBase,
          title: '布局示例-搜索',
        },
        component: () => import('@/views/examples/layout/BasePageView.vue'),
      },
      {
        path: '/examples/layout/rk-container-top-bottom',
        name: 'RKContainerTopBottomView',
        meta: {
          ...metaBase,
          title: '布局示例-上下',
        },
        component: () => import('@/views/examples/layout/RkTopBottomView.vue'),
      },
      {
        path: '/examples/layout/rk-container',
        name: 'RKContainerView',
        meta: {
          ...metaBase,
          title: '布局示例-完整',
        },
        component: () => import('@/views/examples/layout/RKContainerView.vue'),
      },
      {
        path: '/examples/layout/vf-layout-full',
        name: 'SourceLoadView',
        meta: {
          ...metaBase,
          title: '布局示例-配置',
        },
        component: () => import('@/views/case/source/SourceLoadView.vue'),
      },
		]
	}
]